package com.twu.biblioteca;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class BibliotecaApp {
    public static void main(String[] args) {
        System.out.println("Do you want console app or GUI app?");
        System.out.println("C :console");
        System.out.println("G :GUI");
        BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in));
        try {
            String s =  bufferRead.readLine();
            if(s.equalsIgnoreCase("C"))
                StartConsoleApp.consoleAppStart();
            else
                GUIAppStart.GUIAppStart();

        } catch (IOException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }
    }


}
